package com.atguigu.ucenterservice.service;

import com.atguigu.ucenterservice.entity.UcenterMember;
import com.atguigu.ucenterservice.entity.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author testjava
 * @since 2021-02-04
 */
public interface UcenterMemberService extends IService<UcenterMember> {
    //登录
    String login(UcenterMember meber);

    //注册
    void register(RegisterVo registerVo);

    //判断数据库表里面是否存在相同的微信信息，根据openid判断
    UcenterMember getOpenIdMember(String openid);

    //查询某一天注册人数
    Integer countRegisterDay(String day);
}
